The GRIB_FIND_NEAREST procedure finds the four nearest points of a latitude/longitude point.
See GRIB_GET_VALUES for a general example using the GRIB routines.
GRIB_FIND_NEAREST, Ghandle, Lon, Lat [, MODE=Array] [, LATITUDES=Array] [, LONGITUDES=Array] [, INDEXES=Array] [, VALUE=Array] [, DISTANCES=Array])
A GRIB handle.
Longitude of the point for which to search.
Latitude of the point for which to search.
Set this keyword to the numeric mode. The default value is 4 (GRIB_NEAREST_SAME_POINT).
|
Mode Values |
Description |
|---|---|
|
1 |
GRIB_NEAREST_SAME_GRID |
|
4 |
GRIB_NEAREST_SAME_POINT |
The value can be ORed together. For example, MODE=5 sets both modes.
Returns an array of latitude values of the nearest points.
Returns an array of longitude values of the nearest points.
Returns an array of indexes of the nearest points.
Returns an array of values of the nearest points.
Returns an array of distance values from the nearest points.
|
8.1 |
Introduced |